/**
 * @description address model
 * @author 李哲
 */
const mongoose = require('../db/db');

const schema = mongoose.Schema({
    username: {
        type: String,
        require: true
    },
    city: String,
    department: String,
    houseNumber: String,
    name: String,
    phone: Number
}, {
    timestamps: true
})

const address = mongoose.model('address', schema);

module.exports = address;